# coding=utf-8


def add(add_content):
    split_content = add_content.split('+')
    new_content = [c.strip() for c in split_content]
    count = 0
    for content in new_content:
        count += int(content)
    return count

def subtraction():
    pass


str_data = input('请输入加法算术:')
print(add(str_data))